package com.hand.yd24378.mybatis_train.mapper;

import com.hand.yd24378.mybatis_train.domain.User;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author : WaveLee
 * @date : 2019/7/16 20:09
 * @description :
 */
@Repository
public interface UserMapper {
    void insertUser(User user);
    void updateUser(User user);
    User getUser(Long userId);
    int deleteUser(Long userId);
    List<User> getAll();

}
